<template>
  <el-button type="text" v-bind="$attrs" class="uifix-toggle-btn">
    {{ !isadvance ? '展开' : '收起' }}
    <i :class=" !isadvance ? 'el-icon-arrow-down' : 'el-icon-arrow-up'" />
  </el-button>
</template>

<script>
export default {
  props: {
    isadvance: Boolean
  }
}

</script>

<style lang="scss">
.uifix-toggle-btn {
    padding: 0;
    font-size: 14px;
    height: 28px;
    transform: translateY(-3px);
}
</style>
